#!/bin/sh

export PATH=/usr/local/bin:$PATH

commits=$1
msg=`head $commits`
echo $msg
s=`echo $msg | grep -Eo ".*[Aone|fix] #\d+"`
if [ "$s" = "" ];then
echo "建议在commit中填写 AoneID"
echo "使用 git commit --amend 修改描述"
fi


